package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.Student;
import com.xmy.cultivate.util.Result;
import org.springframework.scheduling.annotation.Async;

public interface IAliyunApiService {
    @Async("onlineAsync")
    void studentAudioBatch();

    @Async("onlineAsync")
    void ttsProcessGETRequet(Student student);

    Result sendVerifyCode(String phone, Long adminId);

    boolean verifyCode(String phone, String verCode, Long adminId);

    Result sendCommonVerifyCode(String phone, Long adminId, String cachePrefix, String smsTemplateCode);

    boolean verifyCommonCode(String phone, String verCode, Long adminId, String verrifyPrefix);
}
